/**
 * 2009 David BY Chan--lifesting@gmail.com
 *
 * $Id$
 */
package com.lifesting.workflow.model.gd;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;

import org.eclipse.emf.ecore.util.FeatureMap;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Event</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link com.lifesting.workflow.model.gd.Event#getTimerAction <em>Timer Action</em>}</li>
 *   <li>{@link com.lifesting.workflow.model.gd.Event#getCreateTimer <em>Create Timer</em>}</li>
 *   <li>{@link com.lifesting.workflow.model.gd.Event#getCancelTimer <em>Cancel Timer</em>}</li>
 *   <li>{@link com.lifesting.workflow.model.gd.Event#getAction <em>Action</em>}</li>
 *   <li>{@link com.lifesting.workflow.model.gd.Event#getType <em>Type</em>}</li>
 * </ul>
 * </p>
 *
 * @see com.lifesting.workflow.model.gd.GdPackage#getEvent()
 * @model extendedMetaData="name='event' kind='elementOnly'"
 * @generated
 */
public interface Event extends EObject {
	/**
	 * Returns the value of the '<em><b>Timer Action</b></em>' attribute list.
	 * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Timer Action</em>' attribute list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Timer Action</em>' attribute list.
	 * @see com.lifesting.workflow.model.gd.GdPackage#getEvent_TimerAction()
	 * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
	 *        extendedMetaData="kind='group' name='TimerAction:0'"
	 * @generated
	 */
	FeatureMap getTimerAction();

	/**
	 * Returns the value of the '<em><b>Create Timer</b></em>' containment reference list.
	 * The list contents are of type {@link com.lifesting.workflow.model.gd.CreateTimerType}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Create Timer</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Create Timer</em>' containment reference list.
	 * @see com.lifesting.workflow.model.gd.GdPackage#getEvent_CreateTimer()
	 * @model containment="true" transient="true" volatile="true" derived="true"
	 *        extendedMetaData="kind='element' name='create-timer' namespace='##targetNamespace' group='#TimerAction:0'"
	 * @generated
	 */
	EList<CreateTimerType> getCreateTimer();

	/**
	 * Returns the value of the '<em><b>Cancel Timer</b></em>' attribute list.
	 * The list contents are of type {@link java.lang.String}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Cancel Timer</em>' attribute list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Cancel Timer</em>' attribute list.
	 * @see com.lifesting.workflow.model.gd.GdPackage#getEvent_CancelTimer()
	 * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" transient="true" volatile="true" derived="true"
	 *        extendedMetaData="kind='element' name='cancel-timer' namespace='##targetNamespace' group='#TimerAction:0'"
	 * @generated
	 */
	EList<String> getCancelTimer();

	/**
	 * Returns the value of the '<em><b>Action</b></em>' containment reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Action</em>' containment reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Action</em>' containment reference.
	 * @see #setAction(Action)
	 * @see com.lifesting.workflow.model.gd.GdPackage#getEvent_Action()
	 * @model containment="true"
	 *        extendedMetaData="kind='element' name='action' namespace='##targetNamespace'"
	 * @generated
	 */
	Action getAction();

	/**
	 * Sets the value of the '{@link com.lifesting.workflow.model.gd.Event#getAction <em>Action</em>}' containment reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Action</em>' containment reference.
	 * @see #getAction()
	 * @generated
	 */
	void setAction(Action value);

	/**
	 * Returns the value of the '<em><b>Type</b></em>' attribute.
	 * The literals are from the enumeration {@link com.lifesting.workflow.model.gd.EventType}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Type</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Type</em>' attribute.
	 * @see com.lifesting.workflow.model.gd.EventType
	 * @see #isSetType()
	 * @see #unsetType()
	 * @see #setType(EventType)
	 * @see com.lifesting.workflow.model.gd.GdPackage#getEvent_Type()
	 * @model unsettable="true"
	 *        extendedMetaData="kind='attribute' name='type'"
	 * @generated
	 */
	EventType getType();

	/**
	 * Sets the value of the '{@link com.lifesting.workflow.model.gd.Event#getType <em>Type</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Type</em>' attribute.
	 * @see com.lifesting.workflow.model.gd.EventType
	 * @see #isSetType()
	 * @see #unsetType()
	 * @see #getType()
	 * @generated
	 */
	void setType(EventType value);

	/**
	 * Unsets the value of the '{@link com.lifesting.workflow.model.gd.Event#getType <em>Type</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #isSetType()
	 * @see #getType()
	 * @see #setType(EventType)
	 * @generated
	 */
	void unsetType();

	/**
	 * Returns whether the value of the '{@link com.lifesting.workflow.model.gd.Event#getType <em>Type</em>}' attribute is set.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @return whether the value of the '<em>Type</em>' attribute is set.
	 * @see #unsetType()
	 * @see #getType()
	 * @see #setType(EventType)
	 * @generated
	 */
	boolean isSetType();

} // Event
